/**
 * 
 */
package com.onewingu.gcs.client;

import java.util.List;

import com.onewingu.gcs.shared.GroupInfo;
import com.google.gwt.user.client.rpc.AsyncCallback;

/**
 * @author er66
 *
 */
public interface GContactSyncServiceAsync {
	void getSourceAccount(AsyncCallback<String> callback);
	void setSourceAccount(String username, String password, AsyncCallback<Void> callback);
	void getGroups(String username, AsyncCallback<List<GroupInfo>> callback);
	void setSharedGroups(String saUsername, List<GroupInfo> groups, AsyncCallback<Void> callback);
}
